package com.ershui.blog.article.mapper;

import com.ershui.blog.article.domain.LCategory;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScans;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface LCategoryMapper {
    int insert(LCategory record);

    int insertSelective(LCategory record);

    void updateSelective(LCategory record);

    void deleteCategoryById(Long id);

    List<LCategory> selectCategorys();

    Long CountArticleByCategoryId(Long id);
}